package main

import "fmt"

func main() {
	// userInfo := make(map[string]string)
	// userInfo["name"] = "John"
	// userInfo["age"] = "30"
	// fmt.Println(userInfo)
	userInfo := map[string]string{
		"name": "John",
		"age":  "30",
	}
	fmt.Println(userInfo)
	v, ok := userInfo["sname"]
	fmt.Println(v, ok)
	delete(userInfo, "age")
	fmt.Println(userInfo)
}
